#include "platform.h"
#include "motor_28byj48.h"

Motor_28BYJ48_t m ,m1;
void main()
{
    *MOTOR_28BYJ48_BASEADDR = 0 ;
    uint16_t speed=65535 ;
    Motor_28BYJ48_Init(&m,MOTOR_28BYJ48_BASEADDR,4  , speed ) ;
    Motor_28BYJ48_Init(&m1,MOTOR_28BYJ48_BASEADDR,0  , speed ) ;
	while(1){
        Motor_28BYJ48_Walk(&m , -10 ) ;
        Motor_28BYJ48_Walk(&m1 , 16 ) ;
        Serv_DelayTik(256);
	}

    
	return ;
}


